#
# PySNMP MIB module HH3C-STORM-CONSTRAIN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///opt/mib/netdisco-mibs/h3c/hh3c-storm-constrain.mib
# Produced by pysmi-0.3.4 at Thu Jan 27 18:22:43 2022
# On host loaclhost platform Linux version 3.10.0-1160.41.1.el7.x86_64 by user root
# Using Python version 3.6.8 (default, Nov 16 2020, 16:55:22) 
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection")
hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
NotificationType, Integer32, iso, ModuleIdentity, MibIdentifier, ObjectIdentity, Counter64, IpAddress, Counter32, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Integer32", "iso", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "Counter64", "IpAddress", "Counter32", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Bits", "TimeTicks")
RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString")
hh3cStormConstrain = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 66))
if mibBuilder.loadTexts: hh3cStormConstrain.setLastUpdated('200806060000Z')
if mibBuilder.loadTexts: hh3cStormConstrain.setOrganization('Hangzhou H3C Tech. Co., Ltd.')
class Hh3cStormConstrainUnit(TextualConvention, Integer32):
    status = 'current'
    subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))
    namedValues = NamedValues(("none", 1), ("packetsPerSecond", 2), ("ratio", 3), ("bytesPerSecond", 4), ("kbitsPerSecond", 5))

hh3cStormScalarGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 66, 1))
hh3cStormTrapType = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 66, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("broadcast", 1), ("multicast", 2), ("unicast", 3)))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hh3cStormTrapType.setStatus('current')
hh3cStormTrapThreshold = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 66, 1, 2), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: hh3cStormTrapThreshold.setStatus('current')
hh3cStormTableGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2))
hh3cStormCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1), )
if mibBuilder.loadTexts: hh3cStormCtrlTable.setStatus('current')
hh3cStormCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: hh3cStormCtrlEntry.setStatus('current')
hh3cStormCtrlPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("controlled", 1), ("normal", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cStormCtrlPortStatus.setStatus('current')
hh3cStormCtrlBroadcastUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 2), Hh3cStormConstrainUnit()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlBroadcastUnit.setStatus('current')
hh3cStormCtrlBroadcastUpper = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 3), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlBroadcastUpper.setStatus('current')
hh3cStormCtrlBroadcastLower = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 4), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlBroadcastLower.setStatus('current')
hh3cStormCtrlMulticastUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 5), Hh3cStormConstrainUnit()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlMulticastUnit.setStatus('current')
hh3cStormCtrlMulticastUpper = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 6), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlMulticastUpper.setStatus('current')
hh3cStormCtrlMulticastLower = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 7), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlMulticastLower.setStatus('current')
hh3cStormCtrlUnicastUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 8), Hh3cStormConstrainUnit()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlUnicastUnit.setStatus('current')
hh3cStormCtrlUnicastUpper = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 9), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlUnicastUpper.setStatus('current')
hh3cStormCtrlUnicastLower = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 10), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlUnicastLower.setStatus('current')
hh3cStormCtrlRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlRowStatus.setStatus('current')
hh3cStormCtrlPortMode = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 66, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("block", 2), ("shutdown", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cStormCtrlPortMode.setStatus('current')
hh3cStormNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 66, 3))
hh3cStormRising = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 66, 3, 1)).setObjects(("IF-MIB", "ifIndex"), ("HH3C-STORM-CONSTRAIN-MIB", "hh3cStormTrapType"), ("HH3C-STORM-CONSTRAIN-MIB", "hh3cStormTrapThreshold"), ("HH3C-STORM-CONSTRAIN-MIB", "hh3cStormCtrlPortStatus"))
if mibBuilder.loadTexts: hh3cStormRising.setStatus('current')
hh3cStormFalling = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 66, 3, 2)).setObjects(("IF-MIB", "ifIndex"), ("HH3C-STORM-CONSTRAIN-MIB", "hh3cStormTrapType"), ("HH3C-STORM-CONSTRAIN-MIB", "hh3cStormTrapThreshold"), ("HH3C-STORM-CONSTRAIN-MIB", "hh3cStormCtrlPortStatus"))
if mibBuilder.loadTexts: hh3cStormFalling.setStatus('current')
mibBuilder.exportSymbols("HH3C-STORM-CONSTRAIN-MIB", PYSNMP_MODULE_ID=hh3cStormConstrain, hh3cStormTableGroup=hh3cStormTableGroup, hh3cStormCtrlMulticastUnit=hh3cStormCtrlMulticastUnit, hh3cStormTrapType=hh3cStormTrapType, hh3cStormScalarGroup=hh3cStormScalarGroup, hh3cStormCtrlTable=hh3cStormCtrlTable, Hh3cStormConstrainUnit=Hh3cStormConstrainUnit, hh3cStormTrapThreshold=hh3cStormTrapThreshold, hh3cStormFalling=hh3cStormFalling, hh3cStormCtrlEntry=hh3cStormCtrlEntry, hh3cStormNotifications=hh3cStormNotifications, hh3cStormCtrlRowStatus=hh3cStormCtrlRowStatus, hh3cStormConstrain=hh3cStormConstrain, hh3cStormCtrlUnicastLower=hh3cStormCtrlUnicastLower, hh3cStormCtrlMulticastUpper=hh3cStormCtrlMulticastUpper, hh3cStormCtrlBroadcastUpper=hh3cStormCtrlBroadcastUpper, hh3cStormCtrlUnicastUpper=hh3cStormCtrlUnicastUpper, hh3cStormCtrlBroadcastLower=hh3cStormCtrlBroadcastLower, hh3cStormCtrlUnicastUnit=hh3cStormCtrlUnicastUnit, hh3cStormCtrlPortStatus=hh3cStormCtrlPortStatus, hh3cStormCtrlBroadcastUnit=hh3cStormCtrlBroadcastUnit, hh3cStormCtrlPortMode=hh3cStormCtrlPortMode, hh3cStormCtrlMulticastLower=hh3cStormCtrlMulticastLower, hh3cStormRising=hh3cStormRising)
